Click or drag to resize

SipClientPublishEventState Method (ContactInfo, String, Int32, PresenceDescription)

Publishes initial event state.

Namespace:  Independentsoft.Sip
Assembly:  Independentsoft.Sip (in Independentsoft.Sip.dll) Version: 1.0.700.17927
Syntax
public RequestResponse PublishEventState(
	ContactInfo from,
	string eventName,
	int expires,
	PresenceDescription presence
)

Parameters

from
Type: Independentsoft.SipContactInfo
A ContactInfo contains address and name of the publisher of the event.
eventName
Type: SystemString
A string contains name of the event.
expires
Type: SystemInt32
A number of seconds indicates duration of the subscription.
presence
Type: Independentsoft.Sip.PresencePresenceDescription
A presence description to publish.

Return Value

Type: RequestResponse
A RequestResponse containing sent Request and received appropriate Response.
Exceptions
ExceptionCondition
ArgumentNullExceptionpresence;PresenceDescription is null.
See Also